package common;

import java.util.Date;

import entities.TIntercept;

public class Intercept {

	public static TIntercept intercept(String webNo, String txnOrder, String txnWebsite, String incInfo) {
		TIntercept intercept = new TIntercept();
		intercept.setIncNo(webNo);
		intercept.setIncOrder(txnOrder);
		intercept.setIncWebsite(txnWebsite);
		intercept.setIncInfo(incInfo);
		intercept.setIncDate(new Date());
		return intercept;
	}
	
	public static TIntercept intercept(String webNo, String txnOrder, String txnWebsite, String incInfo,String incRemark) {
		TIntercept intercept = new TIntercept();
		intercept.setIncNo(webNo);
		intercept.setIncOrder(txnOrder);
		intercept.setIncWebsite(txnWebsite);
		intercept.setIncInfo(incInfo);
		intercept.setIncDate(new Date());
		intercept.setIncRemark(incRemark);
		return intercept;
	}

	public static void main(String[] args) {

	}
}
